/* 
    公共样式

    处理每个页面都有同样的内容

    头部 底部 侧边菜单
*/
header{
    text-transform: uppercase;
    position: sticky;
    top: 0px;
    z-index: 9999;
    .navbar-toggle .icon-bar{
        background-color: white;
    }

    .inverse{
        background-color: #111;
    }
    .navbar{
        border-radius: 0;
        height: 76.8px;
        padding-top: 20px;
        box-sizing: border-box;
        margin-bottom: 0;
        .navbar-nav{
            li{
                // border-bottom: 2px solid #000;
                position: relative;
                &::after{
                    content: '';
                    display: block;
                    border-bottom: 3px solid #111;
                    position: absolute;
                    // bottom: -5px;
                    width: 100%;
                }
                &:hover::after{
                    border-color: #666464;
                }
                & > a{
                    color: #fff;
                    background-color: #111;
                }
            }
        }
    }

    .navbar-brand{
        color: #fff;
    }
}

@media screen and (max-width: 1024px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
        // background-color: #fff;
        .icon-bar{
            background-color: #111;
        }
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 4.5px;
        background-color: #111;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}